package com.yikes.srb.leadingModle.vo;

import com.yikes.srb.mybatis.base.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * <p>
 * 用户账户
 * </p>
 *
 * @author guanrong.yin
 * @since 2024-12-03
 */
@Getter
@Setter
@ToString
@Schema(name = "UserAccount对象", description = "用户账户VO")
public class UserAccountVO extends BaseVO {

    @Schema(description = "编号")
    private Long id;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "帐户可用余额")
    private BigDecimal amount;

    @Schema(description = "冻结金额")
    private BigDecimal freezeAmount;

    @Schema(description = "版本号")
    private Integer version;

}
